package com.hoshiicloud.goods;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Configuration;

@Slf4j
@Configuration
@SpringBootApplication(scanBasePackages = {"com.hoshiicloud.goods", "com.hoshiicloud.common"})
@EnableEurekaClient
@EnableCircuitBreaker
@EnableFeignClients
public class HoshiiCloudGoodsApplication {

    public static void main(String[] args) {
        SpringApplication.run(HoshiiCloudGoodsApplication.class, args);
        log.info("商品域启动成功");
    }

}
